/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mz2d.map;

/**
 * 25x20 == 800x640
 * + one tile for los (line of sight)
 * @author Laptop
 */
public class MapViewport {

    private Tile[] tiles;
    private int tileWidth = 25;
    private int tileHeight = 20;

    public MapViewport() {
        tiles = new Tile[tileWidth * tileHeight];
    }

    public void importBuffer(MapBuffer buffer) {
    }

    public MapBuffer exportBuffer() {
        return new MapBuffer(null, 0, 0);
    }

    public void setTileHeight(int tileHeight) {
        this.tileHeight = tileHeight;
    }

    public void setTileWidth(int tileWidth) {
        this.tileWidth = tileWidth;
    }

    public int getTileHeight() {
        return tileHeight;
    }

    public int getTileWidth() {
        return tileWidth;
    }

    public Tile[] getTiles() {
        return tiles;
    }
}
